<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
<head>
	<base href="/" />
	<meta charset="UTF-8" />
	<title>企业会员中心 - 人才系统</title>
	<link rel="shortcut icon" href="favicon.ico" />
	<link href="styles/user.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="utils/layui/css/layui.css">
	<script src="js/jquery-3.4.1.js"></script>
</head>
<body>
<jsp:include page="../header.jsp"></jsp:include>
<!--导航 -->
<div class="floatnav">
	<jsp:include page="../nav.jsp"></jsp:include>
</div>
<!--导航end -->
<div class="page_location link_bk">
	当前位置：<a href="//">首页</a>&nbsp;>>&nbsp;<a href="company_index.php">会员中心</a>
	&nbsp;>>&nbsp;<a href="company_jobs.php?act=jobs">职位管理</a>&nbsp;>>&nbsp;发布职位
</div>
<table width="985" border="0" align="center" cellpadding="0"
	   cellspacing="0" style="margin-top:8px;">
	<tr>
		<td width="173" valign="top" class="link_bk"><jsp:include
				page="left.jsp"></jsp:include></td>
		<td valign="top">
			<div class="user_right_box">
				<div class="user_right_top_tit_bg">
					<h1>发布职位</h1>
				</div>
				<form id="Form1" name="Form1" method="post"
					  action="job/add">
					<table width="100%" border="0" cellpadding="4" cellspacing="0"
						   style="margin-top:8px;">
						<tr>
							<td width="100" height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 职位名称：</td>
							<td><input name="name" type="text"
									   class="input_text_200" id="name" maxlength="30"
									   style=" width:350px;" /></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 性别要求：</td>
							<td><label><input name="sex" type="radio" value="3"
											  checked="checked" title="不限" />不限</label>&nbsp;&nbsp;&nbsp; <label><input
									name="sex" type="radio" value="1" title="男" />男</label>&nbsp;&nbsp;&nbsp;
								<label><input name="sex" type="radio" value="2"
											  title="女" />女</label>&nbsp;&nbsp;&nbsp; <input name="sex_cn"
																							 type="hidden" id="sex_cn" value="不限" /></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 职位性质：</td>
							<td><label><input name="nature" type="radio"
											  value="1" checked="checked" title="全职" /> 全职</label>
								&nbsp;&nbsp;&nbsp;&nbsp; <label><input name="nature"
																	   type="radio" value="2" title="兼职" /> 兼职</label>
								&nbsp;&nbsp;&nbsp;&nbsp; <label><input name="nature"
																	   type="radio" value="3" title="实习" /> 实习</label>
								&nbsp;&nbsp;&nbsp;&nbsp; <input name="nature_cn" type="hidden"
																id="nature_cn" value="" /></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 应届生应聘：</td>
							<td><label><input name="fresh" type="radio"
											  value="0" checked="checked" />不允许</label> <label><input
									type="radio" name="fresh" value="1" />允许</label></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold;">*</span> 招聘人数：</td>
							<td><input name="numbers" type="text" class="input_text_200"
									   id="numbers" value="5" maxlength="4" /> 人 <span
									style="color: #666666"> &nbsp;(0 表示若干)</span> <span
									style="color: #0099FF" id="days_info">设置有效时间&nbsp;15&nbsp;天，发布后将扣除&nbsp;<strong><span
									style="color:#FF3300">15</span></strong>&nbsp;点积分
								</span></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 有效时间：</td>
							<td><input name="days" type="text" class="input_text_200"
									   id="days" value="15" maxlength="3" /> 天 <span
									style="color: #0099FF" id="days_info"></span></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 职位类别：</td>
							<td>

								<select id="category" name="category">
									<c:forEach items="${categories}" var="category">
										<option value="${category.id}">${category.name}</option>
									</c:forEach>

								</select>

							</td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 工作地区：</td>
							<td>
								<input type="hidden" name="address" id="echo">
								<div class="layui-form">
									<div class="layui-form-item" id="area-picker">
										<div class="layui-input-inline" style="width: 200px;">
											<select name="province" class="province-selector" data-value="四川省" lay-filter="province-1"  >
												<option value="">请选择省</option>
											</select>
										</div>
										<div class="layui-input-inline" style="width: 200px;">
											<select name="city" class="city-selector" data-value="成都市" lay-filter="city-1"  >
												<option value="">请选择市</option>
											</select>
										</div>
										<div class="layui-input-inline" style="width: 200px;">
											<select name="county" class="county-selector" data-value="高新区" lay-filter="county-1"  >
												<option value="">请选择区</option>
											</select>
										</div>
									</div>
								</div>
							</td>
						</tr>
						<tr>
							<td height="30" align="right">学历要求：</td>
							<td>
								<select id="education" name="education">
									<option value="不限">不限</option>
									<option value="初中">初中</option>
									<option value="高中">高中</option>
									<option value="中技">中技</option>
									<option value="中专">中专</option>
									<option value="大专">大专</option>
									<option value="本科">本科</option>
									<option value="硕士">硕士</option>
									<option value="博士">博士</option>
									<option value="博后">博后</option>
								</select>
							</td>
						</tr>

						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 工资范围：</td>
							<td>
								<select  name="SalaryRange">
									<option >请选择工资范围</option>
									<option value="1000-3000">1000-3000</option>
									<option value="3000-5000">3000-5000</option>
									<option value="5000-7000">5000-7000</option>
									<option value="7000-10000">7000-10000</option>
									<option value="10000-15000">10000-15000</option>
									<option value="15000以上">15000以上</option>
								</select>
							</td>
						</tr>


						<tr>
							<td align="right" valign="top"><span
									style="color:#FF3300; font-weight:bold">*</span> 职位描述：</td>
							<td>
								<div>
										<textarea name="description" class="input_text_200_textarea"
												  id="contents" style="width:450px; height:150px;"></textarea>
									<br />
								</div>
								<div style="line-height:30px; height:30px;">
									<span style="color: #0033CC; cursor:pointer" id="model">[查看范例]</span>&nbsp;&nbsp;&nbsp;说明：请详细描述该职位，内容可包括：职位要求，岗位职责等。
								</div>
							</td>
						</tr>
						<tr id="cp" style="display: table-row;">
							<td align="right" valign="top"
								style=" border-bottom:1px #CCCCCC dashed; color:#FF0000"><strong>范例：</strong></td>
							<td style=" border-bottom:1px #CCCCCC dashed;"><strong>岗位职责：</strong>
								<br> 1、负责公司系统经营结构调整、新增投资与合作项目策划、现有投资项目调整以及投资管理等工作； <br>
								2、主持制定公司投资项目总体发展规划，系统分析投资项目内外部经营风险，指导风险防范体系的建立。 <br> <strong>任职要求：
								</strong><br> 1、经济管理、投资管理、工商管理及技术经济等专业硕士及以上学历； <br>
								2、熟悉相关法律法规及投资项目实施、资产重组和处置过程的评估方法； <br>
								3、具有较强的沟通及组织协调能力、学习能力及较强的团队合作精神； <br> 4、5
								年及以上大型企业投资管理经验，熟悉资本运作； <br> 5、英语听说读写熟练。</td>
						</tr>


						<tr>
							<td height="30" align="right" bgcolor="F9F9F9"><strong>邮件通知</strong></td>
							<td bgcolor="F9F9F9">(接收邮箱为用户注册邮箱)</td>
						</tr>
						<tr>
							<td height="30" align="right">邮件通知：</td>
							<td><label><input name="notify" type="radio"
											  value="1" />接收</label> &nbsp;&nbsp;&nbsp; <label> <input
									type="radio" name="notify" value="0" checked="checked" />不接收
							</label> <span style="color: #666666">
										&nbsp;&nbsp;&nbsp;(有用户申请此职位时，系统会发一份邮件提醒您查看)</span></td>
						</tr>
						<tr>
							<td height="30" align="right">接收邮箱：</td>
							<td><strong>chenyan@qq.conm</strong>&nbsp;&nbsp;&nbsp; <span
									style="color:#FF0000"> 您的邮箱未认证，不能接收邮件通知，<a
									href="company_user.php?act=user_email" style="color: #009900">[点击认证]</a></span>
							</td>
						</tr>
						<tr>
							<td height="30" align="right" bgcolor="F9F9F9"><strong>联系方式</strong></td>
							<td bgcolor="F9F9F9">(默认为企业联系方式)</td>
						</tr>

						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 联 系 人：</td>
							<td><input name="contact" type="text"
									   class="input_text_200" id="contact" value="chenyan"
									   maxlength="20" /></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span>联系邮箱：</td>
							<td><label> <input name="email" type="text"
											   class="input_text_200" id="email" maxlength="80"
											   value="chenyan@qq.com" />
							</label></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold"> </span>联系人QQ号：</td>
							<td><input name="qq" type="text" class="input_text_200"
									   id="qq" maxlength="50" /></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 联系电话：</td>
							<td><input name="telephone" type="text"
									   class="input_text_200" id="telephone" maxlength="35"
									   value="25789524" /></td>
						</tr>
						<tr>
							<td height="30" align="right"><span
									style="color:#FF3300; font-weight:bold">*</span> 联系地址：</td>
							<td><input name="address1" type="text"
									   class="input_text_200" id="address" maxlength="100"
									   value="3123124234234" /></td>
						</tr>

					</table>
					<div style="position:relative;">
						<table width="100%" border="0" cellpadding="20" cellspacing="0"
							   class="link_lan" bgcolor="F9F9F9">
							<tr>
								<td align="center"><input name="add_mode" type="hidden"
														  id="add_mode" value="1" />
									<table width="100%" border="0" cellpadding="10"
										   cellspacing="0" class="link_lan" style="line-height:200%;">
										<tr>
											<td width="360" align="left">

												<div id="release_jobs_add"></div>
												<div id="release_info"></div>
												<div id="release_daysa"></div>
												<div id="total"></div> <a href="" target="_blank">[积分消费明细]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
													href="" target="_blank">[积分消费规则]</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
													href="">[充值积分]</a>

											</td>
											<td><input name="totals" id="totals" type="hidden"
													   value="0" />
												<table width="100%" border="0" cellspacing="6"
													   cellpadding="5">
													<tr>
														<td width="30%"><input name="" type="submit"
																			   value="确定发布" class="but100" id="addsubmit" /></td>
														<td align="left"><a style="color:#0066CC"
																			href="Javascript:window.history.go(-1)">[返回上一页]</a></td>
													</tr>
												</table></td>
										</tr>
									</table></td>
							</tr>
						</table>
					</div>
				</form>
			</div>
		</td>
	</tr>
</table>
<jsp:include page="../footer.jsp"></jsp:include>
</body>
<script src="utils/layui/layui.js"></script>
<script src="js/jquery-3.4.1.js"></script>
<script>
	//配置插件目录
	layui.config({
		base: 'utils/mods/'
		, version: '1.0'
	});
	//一般直接写在一个js文件中
	layui.use(['layer', 'form', 'layarea'], function () {
		var layer = layui.layer
				, form = layui.form
				, layarea = layui.layarea;

		layarea.render({
			elem: '#area-picker',
			change: function (res) {
				var address=res.province+res.city+res.county

				$("#echo").val(address);
			}
		});
	});
</script>
</html>